package com.rd.student.wulian.wanggaobo.day0728.practice01;

import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;

public class CheckEnding {
    public static void main(String[] args) {
        String str1;
        String str2;
        Scanner sc = new Scanner(System.in);
        str1 = sc.next();
        str2 = sc.next();
        boolean result = Check(str1,str2);
        System.out.println(result);
    }

    public static boolean Check(String str1, String str2) {
        Set set =new HashSet();

            return false;
    }
}
